-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MRG] Deprecate sourmash.load_signatures
as public API; refactor a bit.
#1279
Conversation
sourmash.load_signatures
as public API; refactor a bit.
Codecov Report
@@ Coverage Diff @@
## latest #1279 +/- ##
==========================================
+ Coverage 88.69% 93.96% +5.26%
==========================================
Files 125 98 -27
Lines 18281 14677 -3604
Branches 1440 1438 -2
==========================================
- Hits 16215 13791 -2424
+ Misses 1819 640 -1179
+ Partials 247 246 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
sourmash.load_signatures
as public API; refactor a bit.sourmash.load_signatures
as public API; refactor a bit.
At this point, shouldn't we actually move functions like |
hmm, I am making The It's also worth noting that |
sourmash.load_signatures
as public API; refactor a bit.sourmash.load_signatures
as public API; refactor a bit.
I think this is ready for review, @luizirber |
Deprecate
sourmash.load_signatures
in favor ofsourmash_args.load_file_as_signatures
andsourmash_args.load_database
, to support a more robust & feature-fill public API for sourmash.Also:
sourmash.create_sbt_index
andload_sbt_index
deprecate several top-level sourmash API functions #1071Fixes #1141
Tackles #1142, except for documentation issue.
#1092 is relevant but not addressed here.
Should probably revisit PR #921 after this.
Question:
Checklist
make test
Did it pass the tests?make coverage
Is the new code covered?without a major version increment. Changing file formats also requires a
major version number increment.
changes were made?